package com.njym.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.njym.dao.SysPaymentModeMapper;
import com.njym.entity.SysPaymentMode;
import com.njym.service.SysPaymentModeService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhy
 * @create 2018-08-21 18:48
 **/
@Service
public class SysPaymentModeServiceImpl extends ServiceImpl<SysPaymentModeMapper, SysPaymentMode> implements SysPaymentModeService {
    @Override
    public List<SysPaymentMode> selectConfigsByOrgid(String orgId, String searchWords) {
        return baseMapper.selectConfigsByOrgid(orgId, searchWords);

    }

    @Override
    public SysPaymentMode selectModeIncludesConfigs(String orgId, String modeCode) {
        return baseMapper.selectModeIncludesConfigs(orgId, modeCode);
    }

}
